package com.atguigu.wordcount.mapjoin;

import org.apache.hadoop.io.Writable;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;

/**
 * @ClassName JoinBean
 * @DeScription JoinBean
 * @Author 剧情再美终是戏
 * @Date 2019/11/20 11:33
 * @Version 1.0
 **/
public class JoinBean {

    private String orderId;

    private String pId;

    private String pName;

    private String aMount;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getaMount() {
        return aMount;
    }

    public void setaMount(String aMount) {
        this.aMount = aMount;
    }

    @Override
    public String toString() {
        return orderId + "\t" + pName + "\t" + aMount;
    }
}
